/*******************************************************************************
 *                                                                             *
 * Square3D Engine                                                             *
 * (C) 2010 Aviral Dasgupta <aviraldg@gmail.com>                               *
 *                                                                             *
 *******************************************************************************
 * Entity.cpp                                                                  *
 ******************************************************************************/

#include "Entity.h"

inline Entity *Entity::move(const Vec3<float> offset)
{
	this->position += offset;
	return this;
}

//Will be deprecated in 10.04
inline Entity *Entity::moveBy(const Vec3<float> offset)
{
	return this->move(offset);
}

inline Entity *Entity::moveTo(const Vec3<float> & position)
{
	this->position = position;
}

